<div class="row">
  	<div class="col-lg-6">
    	<ul class="nav nav-pills" role="tablist">
		  	<li role="presentation"><a href="javascript:;" ng-click="addClassify()">添加类别</a></li>
		</ul>
  	</div><!-- /.col-lg-6 -->
  	<div class="col-lg-3 col-md-offset-3">
    	<div class="input-group">
 			<input type="text" class="form-control">
      		<span class="input-group-btn">
        		<button class="btn btn-default" type="button">Go!</button>
      		</span>
    	</div><!-- /input-group -->
  	</div><!-- /.col-lg-6 -->
</div><!-- /.row -->
		
<wbc-table datasource="classifys" columns="[
		{name: '序号', column: '$index', width: '60px'},
		{name: '类别名称', column: 'name'},
		{name: '操作', column: '$action', width: '100px'}]"></wbc-table>

<loading></loading>

<!--modal-->
<div id="myModal1" class="modal fade">
	<div class="modal-dialog">
		<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
			<h4 class="modal-title">添加类别</h4>
		</div>
		<div class="modal-body">
			<form class="form-horizontal" role="form">
				<div class="form-group">
					<label for="inputPassword3" class="col-sm-2 control-label">类别名称</label>
					<div class="col-sm-6">
						<input ng-model="classifyName" type="text" class="form-control" placeholder="">
					</div>
				</div>
			</form>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<button ng-click="ajaxRequestPost()" type="button" class="btn btn-primary">保存</button>
			</div>
		</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
</div>
<!--modal-->
